package com.ke.pojo;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

//评论实体类
@Data
public class VideoComment {
    /*
FieldTypeComment
idint(11) NOT NULL
uidint(11) NULL
cidint(11) NULL
comment_timedatetime NULL
comment_wordsvarchar(255) NULL*/
    private Integer id;
    private Integer uid;
    private Integer vid;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH-mm-ss")
    private Date comment_time;
    private String comment_words;
}
